package com.hgy.hhao.springboot_vue.controller;

import com.hgy.hhao.springboot_vue.service.YmlTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author HhaoAn
 * @date 2025年03月02日 19:15
 */
@RestController
public class YmlTestController {
    @Autowired
    private YmlTestService ymlTestService;
    @RequestMapping("/yml/test")
    public String ymlTest(){
        return ymlTestService.getYmlTest().toString();
    }
}
